package com.supermap.dataservice.cloud.survey;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author aqua
 * @description
 * @date 2018年12月11 下午 3:50
 * @email 1301584033@qq.com
 */
public class SurveyDoc implements Serializable {
    private Integer id;
    private String name;
    private String title;
    private String describe;
    private List<SurveyMenu> menuList=new ArrayList<>();
    private String areaName;
    private String createTime;
    private String areaCode;
    private String userId;
    private String dept;
    private String sendTime;
    private String userName;
    private int issend;

    /**
     * 问卷调查统计
     * **/
    /**
     * 回答人数
     * */
    private int answerNum;
    /**
     * 已读人数
     * */
    private int yread;
    /**
     * 未读人数
     * */
    private int nread;
    /**
     * 总人数
     * */
    private int countNum;
    /**
     * 已读人数百分比
     * */
    private String yrate;
    /**
     * 未读人数百分比
     * */
    private String nrate;
    /**
     * 选项人数比例
     * **/
    private String pre;
    /**
     * 选项id
     * **/
    private String orderid;
    /**
     * 问题id
     * **/
    private String contentid;
    private String roleName;
    private String uploadTime;

    public int getIssend() {
        return issend;
    }

    public void setIssend(int issend) {
        this.issend = issend;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(String uploadTime) {
        this.uploadTime = uploadTime;
    }

    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid;
    }

    public String getContentid() {
        return contentid;
    }

    public void setContentid(String contentid) {
        this.contentid = contentid;
    }

    public String getPre() {
        return pre;
    }

    public void setPre(String pre) {
        this.pre = pre;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public List<SurveyMenu> getMenuList() {
        return menuList;
    }

    public void setMenuList(List<SurveyMenu> menuList) {
        this.menuList = menuList;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }

    public String getSendTime() {
        return sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getAnswerNum() {
        return answerNum;
    }

    public void setAnswerNum(int answerNum) {
        this.answerNum = answerNum;
    }

    public int getYread() {
        return yread;
    }

    public void setYread(int yread) {
        this.yread = yread;
    }

    public int getNread() {
        return nread;
    }

    public void setNread(int nread) {
        this.nread = nread;
    }

    public int getCountNum() {
        return countNum;
    }

    public void setCountNum(int countNum) {
        this.countNum = countNum;
    }

    public String getYrate() {
        return yrate;
    }

    public void setYrate(String yrate) {
        this.yrate = yrate;
    }

    public String getNrate() {
        return nrate;
    }

    public void setNrate(String nrate) {
        this.nrate = nrate;
    }
}
class  SurveyMenu implements Serializable{
    private Integer id;
    private String name;
    private String surveyid;
    private String orderid;
    private String createTime;
    private List<SurveyContent> surveyContentList=new ArrayList<>();

    public String getSurveyid() {
        return surveyid;
    }

    public void setSurveyid(String surveyid) {
        this.surveyid = surveyid;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<SurveyContent> getSurveyContentList() {
        return surveyContentList;
    }

    public void setSurveyContentList(List<SurveyContent> surveyContentList) {
        this.surveyContentList = surveyContentList;
    }
}
class SurveyContent implements Serializable {
    private Integer id;
    private Integer topic;
    private String content;
    private String orderid;
    private String menuid;
    /**
     * 答案
     * */
    private String ansId;
    private List<SurveyOptions> optionsList=new ArrayList<>();

    public String getMenuid() {
        return menuid;
    }

    public void setMenuid(String menuid) {
        this.menuid = menuid;
    }

    public String getAnsId() {
        return ansId;
    }

    public void setAnsId(String ansId) {
        this.ansId = ansId;
    }

    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }



    public Integer getTopic() {
        return topic;
    }

    public void setTopic(Integer topic) {
        this.topic = topic;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public List<SurveyOptions> getOptionsList() {
        return optionsList;
    }

    public void setOptionsList(List<SurveyOptions> optionsList) {
        this.optionsList = optionsList;
    }
}
class  SurveyOptions implements Serializable{
    private Integer id;
    private String option;
    private String orderid;
    private String createTime;
    private int contentId;

    public int getContentId() {
        return contentId;
    }

    public void setContentId(int contentId) {
        this.contentId = contentId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }



    public String getOption() {
        return option;
    }

    public void setOption(String option) {
        this.option = option;
    }
}
